package user

import (
	"github.com/gin-gonic/gin"
	"telemple_web/app/http/controllers/user/params"
	"telemple_web/app/utils/response"
)

func Login(c *gin.Context) {
	var prams params.Login

	if err := c.ShouldBind(&prams); err != nil {
		response.JSONErr(c, response.WithMessage(err.Error()))
		return
	}
	response.JSONOk(c, response.WithContent(prams))

}
